/**
 * @description 列表的crud 路由
 * @author 盘挂他爹
 */

import * as Router from "koa-router"
const route:Router = new Router({prefix:"/api/list"})
import { JwtAuth } from "../../middleware/jwt.auth"
import ListController from "../../routerController/list.controller"
import Validator from "../../middleware/validator"
route.use(JwtAuth)
//获取某i个list列表数据
route.get("/pandaKill", ListController.getList)

// //添加某个list列表数据
// route.post("/addList", Validator.likeListOneSchema, ListController.addList)

// //删除某条数据(批量和单独删除)
// route.post("/deleteList", Validator.likeListOneDelSchema, ListController.delList)

export { route }



